<?php
header("Content-type: text/html; charset=utf-8");
mysql_connect('localhost','root','');
mysql_select_db('cmse17');
mysql_query('set names utf8');

session_start();

function view($data=array()){
	//foreach($adta as $key => $value){
		//$$key=$value;
		//}
		extract($data);
	include(VIEW_PATH.ADMIN.'/header.html');
	include(VIEW_PATH.ADMIN.'/'.C.'/'.A.'.html');
	include(VIEW_PATH.ADMIN.'/floot.html');
	}
?>